import request from '@/utils/request'
import { ResultVoid, DeepRequired, AddRoleDto } from '../../interface'

/**
 * 添加角色
 * /role/one
 */
export function postRoleOne(input: AddRoleDto) {
  return request.post<DeepRequired<ResultVoid>>(`/role/one`, input)
}
